#!/bin/bash

init_ice() {
  # 项目名称
  PROJECT_NAME="ice";
  # 项目目录
  PROJECT_PATH=${APP_PATH}"/"${PROJECT_NAME};
  # 项目日志目录
  PROJECT_LOG_PATH=${APPLOG_PATH}"/"${PROJECT_NAME};

  if [ ! -d $PROJECT_PATH ]; then
    exec_cmd "mkdir -p ${PROJECT_PATH}"
  fi;

  if [ ! -d $PROJECT_LOG_PATH ]; then
    exec_cmd "mkdir -p ${PROJECT_LOG_PATH}"
  fi;
  unset PROJECT_NAME
}